/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fwdisp.gui.moduls.ColorCells;

import java.awt.Color;
import java.awt.Component;
import javax.swing.AbstractCellEditor;
import javax.swing.JFrame;
import javax.swing.JTable;
import javax.swing.table.TableCellEditor;

/**
 *
 * @author Admin
 */
public class ColorCellEditor extends AbstractCellEditor implements TableCellEditor{

    JFrame frame = new JFrame();
    Color col = new Color(0);
    

    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, final int row, int column) {
        
  
        return frame;
    }
    
            
    public Object getCellEditorValue() {
        return col.getRGB();
    }
}
